IMAGE EXIST

This command will return a one if the image exists.

  Syntax
Return Integer=IMAGE EXIST(Image Number)
  Parameters
Image Number
Integer
Image number we want to check exists

  Returns

Will return one if image exists

  Example Code
get image 1,0,0,100,100,0
cls
if image exist(1)=1 then print "image exists"
if image exist(2)=1:print "image exists":else:print "no image with that number ":endif
do
loop
end
  See also

IMAGE Commands Menu
Index